package com.dtz.order.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.Logger;
import feign.Logger.Level;

@Configuration
public class FeignConfig {

	/**
	 * feign请求日志打印
	 * @return
	 */
	@Bean
	public Logger.Level loggerLevel() {
		// 默认为NONE,不打印feign日志
		return Level.FULL;
	}
	
}
